import Layout from '@/components/Layout.vue'

const test = [
    {
        name: "Test",
        path: "/",
        component: Layout,
        meta: { icon: "mdi:ab-testing" },
        children: [
            {
                name: 'Page1',
                path: '/page1',
                component: () => import('@/views/test/Page1.vue'),
                meta: {
                    title: '动态路由1',
                    roles: ['admin'],
                    permissions: ['page1'],
                    order: 1
                },
            },
            {
                name: 'Page2',
                path: '/page2',
                component: () => import('@/views/test/Page2.vue'),
                meta: {
                    title: '动态路由2',
                    roles: ['guest'],
                    permissions: ['page2'],
                    order: 2
                },
            },
            {
                name: 'Page3',
                path: '/page3',
                component: () => import('@/views/test/Page3.vue'),
                meta: {
                    title: '动态路由3',
                    roles: ['admin'],
                    order: 3
                },
            },
        ]
    }
]

export default [];